package com.example.dyy.entity;

public class Movie {
    private Integer id;
    private String name;
    private Integer duration;
    private String type;
    private String description;
    private Double price;
    
    // 构造函数
    public Movie() {}
    
    public Movie(Integer id, String name, Integer duration, String type, String description, Double price) {
        this.id = id;
        this.name = name;
        this.duration = duration;
        this.type = type;
        this.description = description;
        this.price = price;
    }
    
    // getter和setter方法
    public Integer getId() { return id; }
    public void setId(Integer id) { this.id = id; }
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public Integer getDuration() { return duration; }
    public void setDuration(Integer duration) { this.duration = duration; }
    public String getType() { return type; }
    public void setType(String type) { this.type = type; }
    public String getDescription() { return description; }
    public void setDescription(String description) { this.description = description; }
    public Double getPrice() { return price; }
    public void setPrice(Double price) { this.price = price; }
} 